<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>test</title>
    <style>
        body {
            display: flex;
            flex-flow: column wrap;
            justify-content: center;
            align-items: center;
        }

        #c {
            margin-top: 20px;
        }

        input[type=range]::before {
            content: attr(min);
            color: #000;
            padding-right: 5px;
        }

        input[type=range]::after {
            content: attr(max);
            color: #000;
            padding-left: 5px;
        }

    </style>
</head>

<body>
    <canvas data="65" id="c">当前浏览器不支持canvas 请升级！</canvas>
    <canvas data="98" width="250" height="250" id="c1">当前浏览器不支持canvas 请升级！</canvas>
</body>
<script type="text/javascript" src="js/jquery-2.2.4.min.js"></script>
<script>
    $(function() {
        var waterObj = new WaterObj("c");
        waterObj.start();
        var waterObj2 = new WaterObj("c1");
        waterObj2.start();
    });

</script>
<script type="text/javascript" src="js/water-obj.js"></script>

</html>
